package com.hoshiicloud.goods.entity.goods;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *  商品图片资源表
 * @author linjx on 2019/8/12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GoodsGallery implements Serializable {

    /**
     *  主键Id
     */
    private Long id;

    /**
     *  商品主键
     */
    private Long extSpuId;

    /**
     *  baseSpuId
     */
    private Long baseSpuId;

    /**
     * 相册主键
     */
    private Long galleryId;

    /**
     * 权重
     */
    private Integer weight;


    /**
     *  创建时间
     */
    private LocalDateTime  createdTime;

    /**
     *  修改时间
     */
    private LocalDateTime updatedTime;

    /**
     * 是否删除（0-否 1-是）
     */
    private Integer deleted;
}
